package com.example.school.entity;

import java.io.Serializable;

public class Student implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int id;
	private String name;
	private int age;
	private int gongzi;
	
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getage() {
		return age;
	}
	public void setChinese(int age) {
		this.age = age;
	}
	public int getgongzi() {
		return gongzi;
	}
	public void setgongzi(int gongzi) {
		this.gongzi = gongzi;
	}
	
	
	public Student(int id, String name, int age, int gongzi) {
		super();
		this.id = id;
		this.name = name;
		this.age = age;
		this.gongzi = gongzi;
		
	}
	
	public Student() {
		super();
	}
	
	@Override
	public String toString() {
		return id + "\t" + name + "\t" + age + "\t" + gongzi + "\t"
				 ;
	}
	
	
}
